package app.android.alampang.activity;

import android.app.Activity;
import android.content.Intent;
import android.content.res.TypedArray;
import android.os.Bundle;

import app.android.alampang.R;

/**
 * Created by Supanut on 1/4/2015.
 */
public abstract class BaseActivity extends Activity
{
//    private BaseActivity _instance;
//    public BaseActivity(BaseActivity instance)
//    {
//        this._instance = instance;
//    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Intent i = getIntent();
        Bundle param = i.getExtras();
        onCreate(savedInstanceState, param);

    }

    public abstract void onCreate(Bundle savedInstanceState, Bundle param);
}
